<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>系统首页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">后台管理系统</a>
        </div>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="#"><span class="glyphicon glyphicon-user"></span> 员工登录</a></li>
            <li><a href="login.html"><span class="glyphicon glyphicon-log-in"></span> 退出</a></li>
        </ul>
    </div>
</nav>

<!--<h4>列表导航中的激活状态</h4>-->
<ul class="nav nav-pills nav-stacked" style="max-width: 260px;">
    <li class="active">
        <a href="#">
            <span class="badge pull-right">42</span>
            首页
        </a>
    </li>
    <li><a href="#">简介</a></li>
    <li>
        <a href="#">
            <span class="badge pull-right">3</span>
            消息
        </a>
    </li>
    <li><a href="#" onclick="us()">员工</a></li>
    <li><a href="#">用户</a></li>
    <li><a href="#">业务</a></li>
    <li><a href="#">统计</a></li>
</ul>


<div class="jumbotron" style="width:850px; height: 390px; margin-left:300px; margin-top:-245px;">
    <div class="container">
        <h1>欢迎登陆页面！</h1>
        <p>这是后台管理系统</p>
        <p><a class="btn btn-primary btn-lg" role="button">
            查看更多</a>
        </p>
    </div>
</div>
<script>
    function us() {
        $.ajax({
            type: "POST",
            url: "biaodan",
            async: true,
            dataType: "html",
            contentType: 'application/json; charset=utf-8',
            success: function (html) {
                $('.jumbotron').html(html);
                //$('#right').load(url);//load函数同样能实现效果
            }
        });
    }
</script>

</body>
</html>